package com.qf.service.Impl;

import com.qf.entity.TaxReturn;
import com.qf.mapper.TaxReturnMapper;
import com.qf.mapper.TotalSalesMapper;
import com.qf.service.TaxReturnService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service
public class TaxReturnServiceImpl implements TaxReturnService {

    @Autowired
    private TaxReturnMapper mapper;
    @Override
    public List<TaxReturn> findAll(HashMap<String, String> map) {
        return mapper.findAll(map);
    }

    @Override
    public boolean deleteById(int id) {
        return mapper.deleteById(id);
    }

    @Override
    public boolean delBatch(List<Integer> ids) {
        return mapper.delBatch(ids);
    }

    @Override
    public boolean addTaxReturn(TaxReturn taxReturn) {
        return mapper.addTaxReturn(taxReturn);
    }

    @Override
    public boolean change(TaxReturn taxReturn) {
        return mapper.change(taxReturn);
    }


}
